tests: remove unused import
authorSamuel Zeter <samuelzeter@gmail.com>
Wed, 21 May 2025 00:49:48 +0000 (10:49 +1000)
committerSamuel Zeter <samuelzeter@gmail.com>
Fri, 23 May 2025 04:39:55 +0000 (14:39 +1000)
Fixes:

warning: unused import: `with_procspawn_tempdir::with_procspawn_tempdir`
  --> src/test.rs:11:9
   |
11 | pub use with_procspawn_tempdir::with_procspawn_tempdir;
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
  --> src/insttestmain.rs:9:1
   |
9  | mod test;
   | ^^^^^^^^^
   = note: `#[warn(unused_imports)]` on by default

tests/inst/src/test.rs

index 9fe042f307732b5bd047a7ef40add25a98aec4a5..9eafc5613238c6c2b8baf6c2dc31c04713126491 100644 (file)
@@ -8,8 +8,6 @@ use std::time;
 use anyhow::{bail, Context, Result};
 use rand::Rng;
 
-pub use with_procspawn_tempdir::with_procspawn_tempdir;
-
 // HTTP Server deps
 use futures_util::future;
 use hyper::service::{make_service_fn, service_fn};